package icu.qx.diagram.domain;

import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaterialOutbound {
    /**
     * 物料编码
     */
    @Excel(name = "物料编码")
    private String pdCode;
    /**
     * 物料名称
     */
    @Excel(name = "物料名称")
    private String pdName1;
    /**
     * 物料分类
     */
    @Excel(name = "物料分类")
    private String pdGoodClass;
    /**
     * 物料规格
     */
    @Excel(name = "物料规格")
    private String pdSpecType1;
    /**
     * 物料单位
     */
    @Excel(name = "物料单位")
    private String pdUnitType;
    /**
     * 生产工单号
     */
    @Excel(name = "生产工单号")
    private String workOrderCode;
    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String pdName2;
    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String pdSpecType2;
    /**
     * 消耗数量
     */
    @Excel(name = "消耗数量")
    private String prdRequestNum;
    /** 领料时间  */
    private String pmqRequestDate;
    /** 开始时间 */
    private String beginCreateTime;
    /** 结束时间 */
    private String endCreateTime;
    /** 制单人 */
    private String creatorName;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("pdCode", getPdCode())
                .append("pdName1", getPdName1())
                .append("pdGoodClass", getPdGoodClass())
                .append("pdSpecType1", getPdSpecType1())
                .append("pdUnitType", getPdUnitType())
                .append("workOrderCode", getWorkOrderCode())
                .append("pdName2", getPdName2())
                .append("pdSpecType2", getPdSpecType2())
                .append("prdRequestNum", getPrdRequestNum())
                .append("pmqRequestDate", getPmqRequestDate())
                .append("creatorName", getCreatorName())
                .toString();
    }
}
